package com.hulk.ratel.cloud;


import com.hulk.ratel.component.R;
import com.hulk.ratel.service.dto.SyncRespDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController(value = "/cloud/v1")
public class TestCloudController {


  @GetMapping("/test/{id}")
  public R<SyncRespDTO> findById(@PathVariable Long id) {
    SyncRespDTO  dto = new SyncRespDTO().setCipherPartnerAES("1111").setSignPlatformPrivateKey("2222");
    return  R.ok(dto);

  }
}
